package co.com.smart.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.persistence.entity.dto.SmartPais;
import co.com.smart.persistence.entity.util.AbstractFacade;

/**
 * Session Bean implementation class PaisFacade
 */
@Stateless(
		name		= "PaisFacade", 
		mappedName 	= "ejb/PaisFacade")
public class PaisFacade extends AbstractFacade<SmartPais> implements PaisFacadeLocal {

	@PersistenceContext(unitName = "SmartServicesPU")
	private EntityManager em;
    /**
     * Default constructor. 
     */
    public PaisFacade() {
    	super(SmartPais.class);
    }

	@Override
	protected EntityManager getEntityManager() {
		return em;
	}

}
